package com.sanyue.future;

import org.junit.Test;

/**
 * @author sanyue
 * @version 1.0
 * @description: TODO
 * @date 2022/2/25 下午7:17
 */
public class test {

    @Test
    public void fun1(){
        threadTest threadTest = new threadTest(3, 1);
        threadTest.start();
    }
}
class threadTest extends Thread{
    int a;
    int b;
    public threadTest(){

    }
    public threadTest(int a, int b){
        this.a = a;
        this.b = b;
    }

    @Override
    public void run() {
        System.out.println("a/b = "+(a/b));
    }
}